home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Demos / Tools / AppMaker / Examples / pre-built AMReminder / Procedural / Dispatcher.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-04  |  913 b   |  32 lines  |  [TEXT/MMCC]

  1. /* Dispatcher.h -- dispatcher for windows and for modeless dialogs */
  2. /* Created 01/01/95 12:01 PM by AppMaker */
  3.  
  4. #include "Globals.h"
  5.  
  6. /*----------*/
  7. void    DoIdle    (void);
  8.  
  9. void    OpenWindows            (Str255            fName,
  10.                              short            vRefNum,
  11.                              short            fRefNum);
  12. void    CloseCurWindow        (void);
  13. void    DoControl            (ControlHandle    whichControl,
  14.                              short            whichPart,
  15.                              Point            where);
  16. void    MouseInContent        (Point            where,
  17.                              short            modifiers);
  18. void    TypeInWindow        (char            ch);
  19. void    UpdateContent        (void);
  20. void    ActivateContent        (Boolean        activate);
  21. void    ResizeContent        (void);
  22. pascal void ScrollWindow    (short            newValue,
  23.                              short            oldValue);
  24.  
  25. void    InitModelessDialogs (void);
  26. void    CloseModelessDialog (DialogPtr        whichDialog);
  27. Boolean    FilterModeless        (DialogPtr        whichDialog,
  28.                              EventRecord    *event,
  29.                              short            *itemHit);
  30. void    DoModelessItem        (DialogPtr        whichDialog,
  31.                              short            itemNr);
  32.